home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-18 | 763 b | 34 lines | [TEXT/GEOL] |
- Item 2895212 17-April-89 21:50
-
- From: D2987 Command Central, R Andrews, PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: EraseRect not working
-
- I have the following routine in my utilities code:
-
- PROCEDURE TBorderView.Draw(area: Rect); OVERRIDE;
-
- VAR
- theBox: Rect;
-
- BEGIN
-
- GetQDExtent(theBox);
- if (focus) then
- BEGIN
- EraseRect(theBox);
- FrameRect(theBox);
- END;
-
- END; {* TMapView.Draw *}
-
- For some reason, when its window is redrawn, the old border is left, in
- addition to the new border. This does not make since because the size ( I have
- printed it in the debug window) is the new size.
-
- Brad Andrews
-
-
-